package com.five.zhh.fiveinfive.exception;

import lombok.Getter;

@Getter
public class BaseException extends RuntimeException {

    private final int code = 500;
    private final String message;

    public BaseException(String message) {
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
